package com.smedi.ismedi.progress.core.port.adapter.service;

import com.smedi.ismedi.organization.api.dto.response.resp.OrganizationResp;
import com.smedi.ismedi.progress.core.domain.dto.OrganizationQuery;

import java.util.List;

/**
 * @Author Cookie
 * @Date 2022/7/19
 */
public interface OrganizationRemoteService {

    /**
     * 项目 获取 单一
     *
     * @param projectQuery 项目查询
     * @return Organization
     */
    OrganizationResp getOrganizationOne(OrganizationQuery projectQuery);

    /**
     * 项目 获取 列表
     *
     * @param projectQuery 项目查询
     * @return Organization
     */
    List<OrganizationResp> getOrganizationList(OrganizationQuery projectQuery);
}
